package com.xymtop.api.mapper;


import com.xymtop.api.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    int add (User user);
    int delete(String id);
    int changPhone(String id,String phone);
    int changPassword(String id,String password);
    List<User>getList(String id,String password);
    User getUserById(String id);
}
